home *** CD-ROM | disk | FTP | other *** search
- PRINT (expr); Print values for 'expr'
-
- The PRINT procedure outputs successive values calculated for 'expr' to
- the standard output device. PRINT output normally goes to the video
- display screen unless the 'output to line printer' parameter is set via
- the Execution Options or DOS's I/O redirection facilities are used to
- send the output to a disk file. Alternatively, entering control-P on
- the keyboard when entering the DAN command line will send the output to
- both the screen and the printer.
-
- Values are printed five per line preceded by a time tag that
- corresponds to the first data value on each line. Time tags for
- successive values on the same line are one step size larger than
- the preceeding one. Note: time tags are printed even if an X axis
- file has been specified. The XFORMAT and YFORMAT controls
- determine the format of the time tag and data values respectively.
- +
- The current main label (LABEL) is used in the header line at the top
- of each page.
-
- PRINTs done while a graph is on the screen will overwrite the graph
- unless you 1. have a Hercules graphics interface, or 2. used the '-L'
- command line option. Try to do PRINTs before any PLOTs, or precede
- the PRINT with an ERASE.
-
- PRINT statements should not be grouped with other PRINT
- statements via the ampersand terminator. In such a case, DANAL
- prints values for the grouped expressions starting with the last
- expression of the group and cycling through successive expression
- values. For instance, if the following statements were executed:
-
- PRINT (A) & PRINT (B);
-
- the first data value printed would be for expression B at START,
- the second for expression A at START+STEP, the third for B also
- at START+STEP, etc.
-